package homework.Inheritance_Polymorphism.HiddenMemberVariables_PromotionPriceCalculation;

public class Demo {
    public static void main(String[] args) {
        Sale sale = new Sale(0.7,32.00);
        System.out.println("商品打折后的价格为："+sale.sealX());
        System.out.println("商品原来的价格为："+sale.getTotalMoney());
    }
}
